package simple;

import com.grf.function.function.CustomizeInterface3;
import org.junit.jupiter.api.Test;

/**
 * @description：无参数有返回值
 * @author：guorf
 * @date：2024/8/17 12:11
 */
public class ConsumerInterfaceTest3 {

    public String test(CustomizeInterface3 custom){
        var ll = custom.test();
        System.out.println("test:"+ll);
        return ll;
    }

    @Test
    public void execute(){
        var ll = test(() -> "1111");
        System.out.println("execute："+ll);
    }
}
